//
//  ZYNewTableViewController.swift
//  GZWeibo007
//
//  Created by apple on 15/12/24.
//  Copyright © 2015年 Apple. All rights reserved.
//

import UIKit

class ZYNewTableViewController: UITableViewController {
 

    override func viewDidLoad() {
      super.viewDidLoad()
      prepareUI()
//      refreshControl = ZYRefreshView()
    }
    
  
    private func prepareUI(){
        let nav = ZYRefreshView.refreshView()
        view = nav
        
    }
    
    

}
  
    
class ZYRefreshView: UIView {
    @IBOutlet weak var jiazaiLabel: UILabel!
    @IBOutlet weak var juhuaImage: UIImageView!
    @IBOutlet weak var meirenLabel: UILabel!
    
    @IBAction func commen() {
        
    }
    
    class func refreshView()-> ZYRefreshView {
        let view = NSBundle.mainBundle().loadNibNamed("ZYNewTableView", owner: nil, options: nil).last as! ZYRefreshView
        return view
    }
    
}
